package idv.loveloser.dao;

/**
 * AbstractMdlMessage entity provides the base persistence definition of the
 * MdlMessage entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractMdlMessage implements java.io.Serializable {

	// Fields

	private Long id;
	private Long useridfrom;
	private Long useridto;
	private String subject;
	private String fullmessage;
	private Short fullmessageformat;
	private String fullmessagehtml;
	private String smallmessage;
	private Boolean notification;
	private String contexturl;
	private String contexturlname;
	private Long timecreated;

	// Constructors

	/** default constructor */
	public AbstractMdlMessage() {
	}

	/** minimal constructor */
	public AbstractMdlMessage(Long useridfrom, Long useridto, Long timecreated) {
		this.useridfrom = useridfrom;
		this.useridto = useridto;
		this.timecreated = timecreated;
	}

	/** full constructor */
	public AbstractMdlMessage(Long useridfrom, Long useridto, String subject,
			String fullmessage, Short fullmessageformat,
			String fullmessagehtml, String smallmessage, Boolean notification,
			String contexturl, String contexturlname, Long timecreated) {
		this.useridfrom = useridfrom;
		this.useridto = useridto;
		this.subject = subject;
		this.fullmessage = fullmessage;
		this.fullmessageformat = fullmessageformat;
		this.fullmessagehtml = fullmessagehtml;
		this.smallmessage = smallmessage;
		this.notification = notification;
		this.contexturl = contexturl;
		this.contexturlname = contexturlname;
		this.timecreated = timecreated;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUseridfrom() {
		return this.useridfrom;
	}

	public void setUseridfrom(Long useridfrom) {
		this.useridfrom = useridfrom;
	}

	public Long getUseridto() {
		return this.useridto;
	}

	public void setUseridto(Long useridto) {
		this.useridto = useridto;
	}

	public String getSubject() {
		return this.subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getFullmessage() {
		return this.fullmessage;
	}

	public void setFullmessage(String fullmessage) {
		this.fullmessage = fullmessage;
	}

	public Short getFullmessageformat() {
		return this.fullmessageformat;
	}

	public void setFullmessageformat(Short fullmessageformat) {
		this.fullmessageformat = fullmessageformat;
	}

	public String getFullmessagehtml() {
		return this.fullmessagehtml;
	}

	public void setFullmessagehtml(String fullmessagehtml) {
		this.fullmessagehtml = fullmessagehtml;
	}

	public String getSmallmessage() {
		return this.smallmessage;
	}

	public void setSmallmessage(String smallmessage) {
		this.smallmessage = smallmessage;
	}

	public Boolean getNotification() {
		return this.notification;
	}

	public void setNotification(Boolean notification) {
		this.notification = notification;
	}

	public String getContexturl() {
		return this.contexturl;
	}

	public void setContexturl(String contexturl) {
		this.contexturl = contexturl;
	}

	public String getContexturlname() {
		return this.contexturlname;
	}

	public void setContexturlname(String contexturlname) {
		this.contexturlname = contexturlname;
	}

	public Long getTimecreated() {
		return this.timecreated;
	}

	public void setTimecreated(Long timecreated) {
		this.timecreated = timecreated;
	}

}